#include <iostream>
#include <math.h>
using namespace std;
int main()
{
double a;
double b;
double c;
double d;
double e;
double f;
cout << "a=" ;
cin >> a;
b=a*a;
cout<<"a^2="<<b<<endl;
c=a*a*a;
cout<<"a^3="<<c<<endl;
d=a*a*a*a*a;
cout<<"a^5="<<d<<endl;
e=a*a*a*a*a*a*a*a*a*a;
cout<<"a^10="<<e<<endl;
f=a*a*a*a*a*a*a*a*a*a*a*a*a*a*a;
cout<<"a^15="<<f;

return 0;
}
